package com.dongbing.demo.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_safety_disaster")
public class SafetyDisaster extends Model<SafetyDisaster> {
    private static final long serialVersionUID = 1L;

    /**oid*/
    private Integer oid;

    /**安全灾害*/

    private Integer safetyId;

    /**安全灾害时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")

    private Date safetyTime;

    /**受灾人数*/

    private Integer safetyNumber;

    /**删除标志*/
    private Integer delFlag;

    /**
     * 安全灾害名称
     */
//    private String safetyName;
    private String dictLabel;


}
